@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");

* {
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
}
img {
  display: block;
  max-width: 100%;
}

#container {
  position: relative;
}

.swiper.mySwiper .swiper-wrapper .swiper-slide {
  width: 100% !important;
  height: 400px;
  background-size: cover;
}
.swiper.mySwiper .swiper-wrapper .swiper-slide.s01 {
  background-image: url(../images/main_01_1920.png);
}
.swiper.mySwiper .swiper-wrapper .swiper-slide.s02 {
  background-image: url(../images/main_02_1920.png);
}
.swiper.mySwiper .swiper-wrapper .swiper-slide.s03 {
  background-image: url(../images/main_03_1920.png);
}
.swiper.mySwiper .swiper-wrapper .swiper-slide.s04 {
  background-image: url(../images/main_04_1920.png);
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  width: 200px !important;
  height: 35px;
  position: absolute;
  top: 163px;
  left: 0 !important;
}

span.swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  display: inline-block;
  border-radius: 0;
  background: #fff;
  opacity: 1;
}

span.swiper-pagination-bullet-active {
  background-color: #fe0001;
}

/* ----- main_conbox -----*/
#container .main_conbox {
  z-index: 9;
  max-width: 1080px;
  width: 100%;
  height: 400px;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

#container .main_conbox .txt {
  position: absolute;
  top: 70px;
  left: 0;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  z-index: 9;
}

#container .main_conbox .txt p {
  font-size: 20px;
  font-weight: 500;
}
#container .main_conbox .txt h2 {
  font-size: 28px;
  font-weight: 500;
  margin-top: 4px;
  color: #fff;
}

#container .main_conbox .drop_btn {
  display: none;
  justify-content: space-between;
  position: absolute;
  padding: 12px 0;
  border-bottom: 1px solid #fff;
}

#container .main_conbox .drop_btn img {
  width: 8px;
  height: 14px;
}

#container .main_conbox .more_con {
  max-width: 1080px;
  width: 100%;
  position: absolute;
  bottom: 24px;

  display: flex;
  justify-content: space-between;
  z-index: 9;
  cursor: pointer;
}

#container .main_conbox .more_con a {
  max-width: 230px;
  width: 100%;
  padding-bottom: 16px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  border-bottom: 1px solid #fff;

  display: flex;
  justify-content: space-between;
}

#container .main_conbox .more_con a:hover {
  border-bottom: 1px solid #fe0001;
}
#container .main_conbox .more_con a:hover .title span:nth-child(1) {
  font-weight: 600;
  font-size: 16px;
}
#container .main_conbox .more_con a:hover .title span:nth-child(2) {
  font-weight: 500;
  font-size: 18px;
}
#container .main_conbox .more_con a:hover .img {
  background-image: url(../images/rifgt_red.png);
}

#container .main_conbox .more_con a .title {
  display: flex;
  flex-direction: column;
  line-height: 20px;
  padding: 20px 0 0 0;
}

#container .main_conbox .more_con a .title span:nth-child(1) {
  font-size: 15px;
  font-weight: 400;
}
#container .main_conbox .more_con a .title span:nth-child(2) {
  font-weight: 600;
}

#container .main_conbox .more_con a span.img {
  width: 8px;
  height: 14px;
  margin-top: 24px;
  background-image: url(../images/right.png);
}

/* ----- hwasung ----- */
#container .hwasung {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#container .hwasung .bg01 {
  width: 484px;
  height: 267px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../images/bg01.png);
}

#container .hwasung .bg02 {
  width: 333px;
  height: 141px;
  position: absolute;
  bottom: 0;
  right: 28%;
  background-image: url(../images/bg02.png);
}

#container .hwasung .center {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0 150px 0;
  display: flex;
  justify-content: space-between;
}

#container .hwasung .box {
  max-width: 435px;
  width: 100%;
}

#container .hwasung .box .img_box {
  width: 100%;
  height: 300px;
  position: relative;
}

#container .hwasung .box .img_box.story {
  /* background-image: url(../images/story.png); */
  background-image: url(../images/hwasung_img01.jpg);
}

#container .hwasung .box .img_box p {
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);

  position: absolute;
  bottom: 28px;
  left: 20px;
}

#container .hwasung .box .img_box span {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  position: absolute;
  left: 20px;
  bottom: 16px;
}

#container .hwasung .box .move_box {
  margin-top: 50px;
}
#container .hwasung .box.story .move_box {
  margin-top: 0;
}

#container .hwasung .box .move_box .top {
  display: flex;
  gap: 50px;
  font-weight: 500;
  font-size: 24px;
  line-height: 33px;
  color: #333333;
  cursor: pointer;
}

#container .hwasung .box .move_box .top img {
  width: 30px;
  height: 30px;
}

#container .hwasung .box .move_box .bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
}

#container .hwasung .box .img_box.product {
  /* background-image: url(../images/product.png); */
  background-image: url(../images/hwasung_img02.jpg);
}

#container .hwasung .box.story .move_box .top {
  flex-direction: column;
  gap: 0;
}

#container .hwasung .box.story .move_box .top p:nth-child(2) {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #5a5a5a;
  word-break: keep-all;
}

#container .hwasung .box.story .move_box .top p + p {
  padding-top: 8px;
}

#container .hwasung .box.story .move_box .top .btn_wrap {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  padding: 20px 0 50px 0;
}

#container .hwasung .box.story .move_box .top .btn_wrap .arrow {
  display: flex;
  gap: 24px;

  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #5a5a5a;
  cursor: pointer;
}

/* ----- news ----- */
#container .news_box {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

#container .news_box .arrow {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;

  font-weight: 500;
  font-size: 24px;
  line-height: 25px;
  color: #5a5a5a;
  cursor: pointer;
}

#container .news_box .news {
  max-width: 920px;
  width: 100%;
  height: 550px;
  margin: 0 auto;
}

#container .news_box .news .ltx {
  width: 100%;
}

#container .news_box .news .ltx ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#container .news_box .news .ltx ul li {
  border-bottom: 1px solid #ccc;
  display: flex !important;
  gap: 48px;
}

#container .news_box .news .ltx .img {
  max-width: 210px;
  width: 100%;
  height: 150px;
}

#container .news_box .news .ltx .img a img {
  width: 100%;
  height: auto;
}

#container .news_box .news .ltx .inner .cont {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #5a5a5a;
}

.ltx .inner {
  width: auto !important;
  /* margin-left: 48px; */
  padding-left: 0;
}

#container .news_box .news .ltx .inner .tit {
  width: 100%;
  padding: 2px 0 20px 0;
}

#container .news_box .news .ltx .inner .tit a {
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #3a3a3a;
}

.ltx .inner .date {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #5a5a5a !important;
  float: left !important;
  margin-top: 12px !important;
}

/* ----- category ----- */
#container .category {
  width: 100%;
  margin-top: 100px;
  padding: 75px 0;
  background: #f2f2f2;
}

#container .category .cate_box {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

#container .category .cate_box .right {
  width: calc(100% - 350px);
  padding: 36px 68px;
  background-color: #fff;
  border-radius: 0 8px 8px 0;
}

#container .category .cate_box .right.en {
  padding: 24px 68px;
}

#container .category .cate_box .right p:nth-child(1) {
  font-weight: 500;
  font-size: 24px;
  line-height: 33px;
  color: #333333;
}

#container .category .cate_box .right p:nth-child(2) {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #5a5a5a;
  margin-top: 12px;
}

#container .category .cate_box .right .list {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

#container .category .cate_box .right .list .con {
  max-width: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  cursor: pointer;

  font-weight: 400;
  font-size: 15px;
  text-align: center;
  line-height: 20px;
  color: #3a3a3a;
}

#container .category .cate_box .right .list .con img {
  max-width: 70px;
  width: 100%;
  margin: 0 auto;
}

#container .category .cate_box .right .list .con p {
  display: block;
  text-align: center;
}

/* ----- pr_movie ----- */
#container .pr_movie {
  width: 100%;
  margin: 100px auto 150px auto;
  position: relative;
}

#container .pr_movie .movie_box {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

#container .pr_movie p {
  font-weight: 500;
  font-size: 24px;
  line-height: 33px;
  color: #333333;
  margin-bottom: 50px;
}

#container .pr_movie .area {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 */
}

#container .pr_movie #video {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 99;
}

#container .pr_movie .bg03 {
  width: 822px;
  height: 111px;
  position: absolute;
  right: 0;
  bottom: -90px;
  background: url(../images/bg03.png);
}

/* ----- #footer ----- */
#footer {
  width: 100%;
}

#footer .top_ex {
  height: 70px;
  border-top: 1px solid #fe0001;
  border-bottom: 1px solid #fe0001;
}
#footer .top_ex.en {
  /* height: 120px; */
}

#footer .top_ex .top {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
}

#footer .top_ex .top a {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #3a3a3a;
}

#footer .top_ex .top span {
  width: 1px;
  height: 10px;
  margin-top: 5px;
  background-color: #5a5a5a;
}

#footer .top_ex .top .left,
#footer .top_ex .top .right {
  display: flex;
  gap: 20px;
}

#footer .bottom {
  max-width: 920px;
  width: 100%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
}

#footer .bottom .footer_img {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer .bottom .footer_img img {
  height: 100%;
}

#footer .bottom .info {
  margin-top: 50px;
  display: flex;
  gap: 80px;
  word-break: keep-all;
}

#footer .bottom .info img {
  width: 111px;
  height: 54px;
}

#footer .bottom .info.en img {
  width: 114px;
  height: 39px;
}

#footer .bottom .info .right_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 400;
  font-size: 14px;
  color: #5a5a5a;
}

@media all and (max-width: 1080px) {
  #container .main_conbox {
    max-width: none;
    width: calc(100% - 40px);
  }

  #container .hwasung .bg01,
  #container .hwasung .bg02,
  #container .pr_movie .bg03 {
    display: none;
  }
}

@media all and (max-width: 900px) {
  #container .hwasung .center {
    padding: 100px 20px 150px 20px;
  }

  #container .hwasung .box {
    width: calc(50% - 10px);
  }

  #container .news_box {
    padding: 0 20px;
  }

  #container .category {
    word-break: keep-all;
    padding: 75px 20px;
  }

  #container .category .cate_box .right {
    padding: 36px 40px;
  }

  #container .pr_movie {
    padding: 0 20px;
  }

  #footer .top_ex .top {
    padding: 25px 20px;
  }

  #footer .bottom {
    padding: 0 20px;
  }
}

@media all and (max-width: 768px) {
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    left: 20px !important;
  }

  /* ----- main_conbox -----*/
  #container .main_conbox {
    max-width: 768px;
    width: 100%;
  }

  #container .main_conbox .txt {
    left: 20px;
  }

  #container .main_conbox .drop_btn {
    display: flex;
    width: calc(100% - 40px);
    left: 20px;
    bottom: 20px;
  }

  #container .main_conbox .drop_btn img {
    position: absolute;
    bottom: 12px;
    right: 0;
  }

  #container .main_conbox .drop_btn.close {
    display: none;
    position: absolute;
  }
  #container .main_conbox .drop_btn.close img {
    width: 14px;
    height: 8px;
  }

  #container .main_conbox .drop_btn p {
    font-weight: 400;
    color: #fff;
  }

  #container .main_conbox .more_con {
    display: none;
    max-width: 768px;
    width: 100%;
    padding: 0 20px 20px 20px;
    bottom: -300px;
    background-color: rgba(0, 0, 0, 0.8);
    flex-direction: column;
  }

  #container .main_conbox .more_con a {
    height: 70px;
    max-width: none;
    padding: 16px 0;
  }

  #container .main_conbox .more_con a .title {
    padding: 0;
  }

  /* ----- hwasung ----- */
  #container .hwasung .bg01 {
    display: none;
  }
  #container .hwasung .bg02 {
    display: none;
  }

  #container .hwasung .center {
    max-width: 768px;
    width: 100%;
    padding: 100px 20px;
  }

  #container .hwasung .box {
    max-width: calc(50% - 10px);
    width: 100%;
  }

  /* ----- news ----- */
  #container .news_box {
    max-width: 768px;
    width: 100%;
  }

  #container .news_box .news {
    height: 480px;
  }

  #container .news_box .news .ltx ul li {
    gap: 24px;
    word-break: keep-all;
  }

  /* ----- category ----- */
  #container .category {
    padding: 50px 20px;
  }

  #container .category .cate_box {
    max-width: 728px;
    width: 100%;
  }

  #container .category .cate_box .left {
    display: none;
  }

  #container .category .cate_box .right {
    width: 100%;
    padding: 24px 40px;
    border-radius: 8px;
    word-break: keep-all;
  }

  /* ----- pr_movie ----- */

  #container .pr_movie {
    /* padding: 0 20px; */
    margin: 100px auto;
  }

  #container .pr_movie .movie_box {
    max-width: 768px;
    width: 100%;
  }

  #container .pr_movie .bg03 {
    display: none;
  }

  /* ----- #footer ----- */
  #footer {
    border-top: none;
  }

  #footer .top_ex {
    display: flex;
    align-items: center;
  }

  #footer .top_ex .top {
    /* padding: 0 20px; */
    word-break: keep-all;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  #footer .top_ex .top .left,
  #footer .top_ex .top .right {
    gap: 10px;
  }

  #footer .bottom {
    /* padding: 0 20px; */
    word-break: keep-all;
  }

  #footer .bottom .footer_img {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 10px;
  }

  #footer .bottom .info {
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
  }
}

@media all and (max-width: 650px) {
  .swiper.mySwiper .swiper-wrapper .swiper-slide {
    height: 300px;
  }

  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    width: 144px !important;
    top: 100px;
  }

  span.swiper-pagination-bullet {
    width: 28px;
    height: 2px;
  }

  /* ----- main_conbox -----*/
  #container .main_conbox {
    height: 300px;
  }

  #container .main_conbox .txt {
    top: 36px;
  }

  #container .main_conbox .txt p {
    font-size: 16px;
  }
  #container .main_conbox .txt h2 {
    font-size: 24px;
  }

  #container .hwasung .center {
    flex-direction: column;
    gap: 50px;
    padding: 50px 20px;
  }

  #container .hwasung .box {
    max-width: none;
    width: 100%;
  }

  #container .hwasung .box .img_box.story {
    background-repeat: no-repeat;
    background-size: 100%;
  }

  #container .hwasung .box .img_box p {
    font-size: 16px;
  }

  #container .hwasung .box .move_box {
    margin-top: 24px;
  }

  #container .hwasung .box.story {
    display: flex;
    flex-direction: column-reverse;
  }

  #container .hwasung .box.story .move_box {
    margin-top: 24px;
  }

  #container .hwasung .box .move_box .top {
    gap: 24px;
    font-size: 20px;
  }

  #container .hwasung .box .img_box.product {
    background-repeat: no-repeat;
    background-size: 100%;
  }

  #container .hwasung .box.story .move_box .top .btn_wrap {
    padding: 20px 0 0 0;
  }

  #container .hwasung .box.story .move_box .top .btn_wrap .arrow {
    font-size: 16px;
  }

  /* ----- news ----- */
  #container .news_box {
    max-width: 650px;
    width: 100%;
    margin: 50px auto;
  }

  #container .news_box .arrow {
    font-size: 20px;
    font-weight: 500;
  }

  /* ----- category ----- */
  #container .category {
    background: none;
    margin-top: 50px;
  }

  #container .category .cate_box .right {
    background-color: #f2f2f2;
    width: 100%;
    padding: 48px 20px;
  }

  /* ----- pr_movie ----- */
  #container .pr_movie {
    margin: 0 auto 50px auto;
  }

  #container .pr_movie .movie_box {
    max-width: 650px;
    width: 100%;
  }

  #container .pr_movie p {
    font-size: 20px;
    margin-bottom: 24px;
  }

  /* ----- #footer ----- */
  #footer .top_ex .top .left,
  #footer .top_ex .top .right {
    flex-wrap: wrap;
    justify-content: center;
  }

  #footer .bottom .info .right_info {
    word-break: keep-all;
  }
}

@media all and (max-width: 500px) {
  #container .hwasung .center {
    padding: 72px 20px;
  }

  #container .hwasung .box .img_box {
    height: 200px;
  }

  #container .hwasung .box.story .move_box .top .btn_wrap {
    flex-direction: column;
    gap: 12px;
  }

  #container .hwasung .box .move_box .bottom {
    gap: 12px;
  }

  #container .news_box {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  #container .news_box .news .ltx ul li {
    flex-direction: column;
    padding-bottom: 20px;
  }

  #container .news_box .news .ltx ul li .img {
    max-width: none;
    width: 100%;
    height: auto;
  }

  #container .news_box .news .ltx ul li:nth-child(n + 2) {
    display: none !important;
  }

  #container .category {
    padding: 0 20px;
    margin: 72px auto;
  }

  #container .category .cate_box .right .list {
    justify-content: center;
    gap: 36px 60px;
    flex-wrap: wrap;
  }

  #container .category .cate_box .right p:nth-child(1) {
    font-size: 20px;
  }

  #container .category .cate_box .right p:nth-child(2) {
    margin-top: 8px;
  }

  #container .pr_movie {
    margin: 0 auto 72px auto;
  }

  #container .pr_movie .movie_box {
    max-width: 500px;
    width: 100%;
  }

  #footer .top_ex {
    height: 100px;
  }

  #footer .bottom .info {
    justify-content: center;
  }
}

@media all and (max-width: 380px) {
  #container .news_box .news {
    height: 380px;
  }

  #container .news_box .news .ltx .inner .tit a {
    font-size: 16px;
  }

  #container .news_box .news .ltx .inner .cont {
    font-size: 14px;
  }
}
